#ifndef USER_SETTINGS_H
#define USER_SETTINGS_H

#include <gloox/iqhandler.h>
#include <gloox/disco.h>

namespace gloox
{
    GLOOX_API extern const std::string XMLNS_USER_SETTING;

    class ClientBase;
    
    class GLOOX_API UserSettingHandler
    {
    public:
	virtual void handleUserSettings() = 0;    
    };

    class GLOOX_API UserSettingsIq
	: public IqHandler
    {
    public:
	UserSettingsIq(ClientBase *);
        virtual ~UserSettingsIq();
    
	void fetchUserSetting(UserSettingHandler *ush);    
    
	virtual bool handleIq(Stanza *stanza);
        virtual bool handleIqID(Stanza *stanza, int context);
    
    private:
	ClientBase * m_parent;    
    };
}

#endif //USER_SETTINGS_H

